Time stepping N-body simulations
نویسندگان
چکیده
Leapfrog integration has been the method of choice in N-body simulations owing to its low computational cost for a symplectic integrator with second order accuracy. We introduce a new leapfrog integrator that allows for variable timesteps for each particle in large N-body simulations. Tests with single particles in fixed potentials show that it behaves as a symplectic integrator. We then examine the results of both standard leapfrog and our temporally adaptive leapfrog on full N-body integrations of clusters and large scale structure establishing accuracy criteria for both methods. The adaptive method shows significant speed-ups over single step integrations—but the integrator no longer appears to be symplectic or, in the case of large scale structure simulations, accurate. This loss of accuracy appears to be caused by the way that the timestep is chosen, not by the integrator itself. We present a related integration technique that does retain sufficient accuracy. Although it is not symplectic, it is apparently better than previous implementations and is our current integrator of choice for large astrophysical simulations. We also note that the standard leapfrog difference equations used in cosmological N-body integrations in comoving coordinates are not symplectic. We derive an implementation of leapfrog that is in comoving canonical coordinates to correct for this deficiency. Subject headings: Methods: numerical Current address: Department of Physics and Astronomy 517 Lederle Graduate Research Tower University of Massachusetts Amherst, MA 01003-4525
منابع مشابه
An optimum time-stepping scheme for N-body simulations
We present a new time-stepping criterion for N -body simulations that is based on the true dynamical time of a particle. This allows us to follow the orbits of particles correctly in all environments since it has better adaptivity than previous time-stepping criteria used in N -body simulations. Furthermore, it requires far fewer force evaluations in low density regions of the simulation and ha...
متن کاملFractional Order Glucose Insulin System Using Fractional Back-Stepping Sliding Mode Control
In this paper, based on a fractional order Bergman minimal model, a robust strategy for regulationof blood glucose in type 1 diabetic patients is presented. Glucose/insulin concentration in the patientbody is controlled through the injection under the patients skin by the pump. Many various con-trollers for this system have been proposed in the literature. However, most of the...
متن کاملThe Coyote Universe I: Precision Determination of the Nonlinear Matter Power Spectrum
Near-future cosmological observations targeted at investigations of dark energy pose stringent requirements on the accuracy of theoretical predictions for the clustering of matter. Currently, N-body simulations comprise the only viable approach to this problem. In this paper we demonstrate that N-body simulations can indeed be sufficiently controlled to fulfill these requirements for the needs ...
متن کاملA General Solution for Implicit Time Stepping Scheme in Rate-dependant Plasticity
In this paper the derivation of the second differentiation of a general yield surface implicit time stepping method along with its consistent elastic-plastic modulus is studied. Moreover, the explicit, trapezoidal implicit and fully implicit time stepping schemes are compared in rate-dependant plasticity. It is shown that implementing fully implicit time stepping scheme in rate-dependant plasti...
متن کاملOn the Numerical Convergence to Steady State of Hypersonic Flows over Bodies with Concavities
Two recent numerical studies of hypersonic flows over bodies with concavities revealed problems with convergence to a steady state with an oft-used application of local-time-stepping. Both simulated flows showed a time-like, periodic shedding of vortices in a subsonic domain bounded by supersonic external flow although the simulations, using local-time-stepping, were not time accurate. Simple m...
متن کامل